package com.iseastar.dianxiaosan.model;

import java.io.Serializable;

import droid.frame.utils.lang.Str;

/**
 * 待取走的包裹
 * 
 * @author HuXinDan<br>
 *         2016-11-21上午11:04:19
 */
public class ParcelWaitBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int parcelId;
	private String orderId;
	private String bagCode;// 投递袋编号
	private String senderName;// 寄件人的姓名
	private String parcelImgUrl;// 物品照片
	private String senderPhone;// 寄件人电话
	private String category;// 寄件人电话
	private String postTime;// 到店时间
	private String checkCode;//寄件码

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getPostTime() {
		if (!Str.isEmpty(postTime) && postTime.endsWith(".0")) {
			postTime = postTime.substring(0, postTime.length() - 2);
		}
		return postTime;
	}

	public void setPostTime(String postTime) {
		this.postTime = postTime;
	}

	public String getBagCode() {
		return bagCode;
	}

	public void setBagCode(String bagCode) {
		this.bagCode = bagCode;
	}

	public String getParcelImgUrl() {
		return parcelImgUrl;
	}

	public void setParcelImgUrl(String parcelImgUrl) {
		this.parcelImgUrl = parcelImgUrl;
	}

	public int getParcelId() {
		return parcelId;
	}

	public void setParcelId(int parcelId) {
		this.parcelId = parcelId;
	}

	public String getSenderName() {
		return senderName;
	}

	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}

	public String getSenderPhone() {
		return senderPhone;
	}

	public void setSenderPhone(String senderPhone) {
		this.senderPhone = senderPhone;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getCheckCode() {
		return checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}
}
